package cn.dgut.training.vo.regionVO;

import cn.dgut.training.vo.BaseVO;
import lombok.Data;

import java.util.List;


@Data
public class RegionVO   {

    private Long id;
    private String name;
    private Integer type;
    private Integer code;

    private List<RegionVO> children;

    public void  setValue(Long id,String name,Integer code,Integer type){
        this.setId(id);
        this.setName(name);
        this.setCode(code);
        this.setType(type);
    }

}
